// ******************************************************************
// * Copyright(c)  Steven Lu
// * Description   : Schema_REP_CHECK_INFO_ITEM
// * CreateDate    : 2014-06-05 18:30:32
// * Creater       : CodeSmith
// * LastChangeDate: 2014-06-05 18:30:32
// * LastChanger   : 2014-06-05 18:30:32
// * Version Info  : 1.0 For ESOL
// ******************************************************************

using System;
using System.Collections.Generic;
using System.Text;
using Suzsoft.Smart.EntityCore;

namespace ESOL.Common.Schema
{
  	[Serializable]
    public partial class RepCheckInfoItemTable : TableInfo
    {
		public const string C_TableName = "REP_CHECK_INFO_ITEM";
		
		public const string C_CHECK_INFO_ITEM_ID = "CHECK_INFO_ITEM_ID";
		public const string C_REGISTER_ITEM_ID = "REGISTER_ITEM_ID";
		public const string C_CHECK_INFO_ID = "CHECK_INFO_ID";
		public const string C_PRODUCT_ID = "PRODUCT_ID";
		public const string C_REPAIR_QTY = "REPAIR_QTY";
		public const string C_PRICE = "PRICE";
		public const string C_REMARK = "REMARK";
		
		public RepCheckInfoItemTable()
        {
            _tableName = "REP_CHECK_INFO_ITEM";
        }
		
		protected static RepCheckInfoItemTable _current;
        public static RepCheckInfoItemTable Current
        {
            get
            {
                if (_current == null)
                {
                    Initial();
                }
                return _current;
            }
        }
		
		private static void Initial()
        {
            _current = new RepCheckInfoItemTable();

            _current.Add(C_CHECK_INFO_ITEM_ID, new ColumnInfo(C_CHECK_INFO_ITEM_ID,"CheckInfoItemId", true, typeof(string)));
            _current.Add(C_REGISTER_ITEM_ID, new ColumnInfo(C_REGISTER_ITEM_ID,"RegisterItemId", false, typeof(string)));
            _current.Add(C_CHECK_INFO_ID, new ColumnInfo(C_CHECK_INFO_ID,"CheckInfoId", false, typeof(string)));
            _current.Add(C_PRODUCT_ID, new ColumnInfo(C_PRODUCT_ID,"ProductId", false, typeof(string)));
            _current.Add(C_REPAIR_QTY, new ColumnInfo(C_REPAIR_QTY,"RepairQty", false, typeof(decimal)));
            _current.Add(C_PRICE, new ColumnInfo(C_PRICE,"Price", false, typeof(decimal)));
            _current.Add(C_REMARK, new ColumnInfo(C_REMARK,"Remark", false, typeof(string)));
			
		}
		
		public ColumnInfo CHECK_INFO_ITEM_ID
        {
            get { return this[C_CHECK_INFO_ITEM_ID]; }
        }
		
		public ColumnInfo REGISTER_ITEM_ID
        {
            get { return this[C_REGISTER_ITEM_ID]; }
        }
		
		public ColumnInfo CHECK_INFO_ID
        {
            get { return this[C_CHECK_INFO_ID]; }
        }
		
		public ColumnInfo PRODUCT_ID
        {
            get { return this[C_PRODUCT_ID]; }
        }
		
		public ColumnInfo REPAIR_QTY
        {
            get { return this[C_REPAIR_QTY]; }
        }
		
		public ColumnInfo PRICE
        {
            get { return this[C_PRICE]; }
        }
		
		public ColumnInfo REMARK
        {
            get { return this[C_REMARK]; }
        }
		
		
		
	}
}

